build: Fix missing MAKEFLAGS --no-print-directory
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 17 Aug 2022 15:21:06 +0000 (16:21 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 17 Aug 2022 15:35:33 +0000 (16:35 +0100)
commitf2beaf876dce590ee9937b79cd3498f2fe9f661c
treee4b1e76ef442ae6da094d1540a067814e9a43d1c
parent0f2611c524385f7bffeee67635a488a5a29b6ba4
build: Fix missing MAKEFLAGS --no-print-directory

While we already have "--no-print-directory" added to the make flags
in some cases, there's one case where the flags is missing, when doing
an out-of-tree build with O=, e.g.
    cd xen; make O=build

Without it, we just have loads of "Entering directory" and "Leaving
directory" with the same directory.

The comment and location in the Makefile are copied from Linux.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/Makefile